moved js to app.js