remove pages.js; put the Pages var into index.html