removing messages.js