Fixed jshint errors or ignoring them