Fix handleMessageSentByJavascript returns

For now, Catalog is still not working. I’m working on to match JS calls…