moved js into app.js