fix in-browser usage
1.1.2