Cleaned jshint warnings
Fixed jshint warnings