Fixing issues newly discovered by jshint 1.0