remove excess from main.js