recompile page.js