move js to app.js