Made js files pass lint free checked via jshint