moved scripts to app.js within scripts folder