added main.js to dependencies