set up chat_ui.js client script to get app working