Simple math test in javascript and backbone