Cleaned jshint warnings