A useful js math library