Dev/browser

migrate to browser api