Some tidying of the json translation of things, some JS to start handling it.
Start setting up for chat.