Send a message to Javascriptcode