created app.js file in js directory