chatbox_connector: fix AJAX escaping