Arithmetic library for javascript.