Add messenger.js and resolve edit pass bug