Solved jshint warnings.