sample app.js