Adding cross browser support