WIP: Generate config.js according the enviroment.

#78