Bugfix and jshint pleasure.