A bit of code cleanup (jshint/jslint)