[webui] adapt to poltergeist