jshint cleanup and failing test for loading data