Add some firefox compatibility