added in-browser support