make it pass jshint