changed message.js