Science toolkit in pure JavaScript