create_pages.js cleanup