Create application-portal.js