add browser compatibility (tested on browserstack)