moved app logic to js/app.js