update: js<->servlet communication