updated config.js and main.html