Update app.js to take id as a parameter.