Make browser compatible