support loading in the browser