added main.js file wich contains all options relevant for index.html