Applied some jshint fixes.