Adapt for browser