Javascript library to enable dynamic math manipulation