Update message.js

Fixing JSHint error.