A fraction math library in javascript.