added firefox support