Fix for #732 (Timer.onComplete not firing).
jsdoc updates across Math and InputHandler.