jshint fixes, now passing