adding browser compatbility