added main.js creation to jenkins job, ugly.