jshint almost valid