added: preprocessing of main.js, to include other js depenencies