build configuration files
fixed main.js