switching back to old main.js for now. Done dealing with this