fix jshints errors