Moves javascript to eportfolio.js