Linted some recommendations from jshint