move javascript in to app.js