Initial refactor for browser support
Browser support
browserling work