jMath.js is a small math based JavaScript library.