use transformer in the browser