Module properties on runtime

Making sure it is possible to modify the main.js file and set properties to
modules after building a project.