removing breaking code
adding jshint directive to test