Applied some jshint