remove redundant js file, alerts in main.js