moved message_wrapper functions to /common_js/browser_specific.js