Removed old code in main.js again