Modified library and example to work with browserstack