algebra.js is a javascript library to build, display and solve algebraic equations. The main objects available are Fraction, Expression, and Equation.
jQuery.fracs is a jQuert plugin that determines some fractions for an HTML element (visible fraction, fraction of the viewport, etc.) and also provides the coordinates of these areas.