adds firefox compatibility