Mathematical library for JavaScript