Old messaging.js and html, before merge