fix syntax with jshint