updated portal.js

updated portal.js