Apply JsHint changes

* Add "use strict"; to immediate functions
* Call global function requestAnimFrame on window obj
* Don't redeclare 'i' variable
* Remove unused argument in handleNewCoords
* Don't delete variables