Corrected hints from jshint.