Create app.js

the javascript file