More work on AppMessage + JS integration work