created module app.js and added it to index.html