Fix to make it work with browserstack