new config/main.js
config class with pageId from index.html