added msg.js