jshint fix + draw sprite fix