Fix for jQueryCalculator project by Bo Li