main.js replaced by app.js