added app.js content & added dependencies