Move in-app browser to index.js