Fixed errors according the jshint