Factor Parsoid retrieval/storage out of pagecontent.js