added main.js to server