Minor fix for snapjs legacy html