[webui] increase coverage by removing functions