browserWrapper plugin, by @molovo