Add support to be used from within a browser context