Update portal.js to 1.0rc3