added first firefox compatibility