Can't seem to get the message from the panel to messaging.js