Fixing jshint errors to pass on Travis.