Update js/w3portals.js

fixie