Clear old main.js code