Grade Calculator with jQuery/Shake.js