Removed doc ready from message.js