Linted the javascript