finally have UI updated from Java. JS functions you thought were global don't actually seem to be global.