Update main.js

updated dependencies