make demo work on firefox