makes main.js ready to receive partial pageUpdate