make sure code passes jshint