main.js was called twice

deleted one of them