made app.js from script on index.html