End of day. Adding example code for app.js