add better browser support