Fixing hints from jshint.