remove unnecessary files again & normalize main.js