do some cleaning to keep main.js empty