cleaned up jshint error and test suite