Fixed jshints errors