jshint fixes
fixing some of the tests