Fixed jshint mistakes