Added jsDoc comments to app.js