Add firefox compatibility