Coursera startup engineering course, exercise 3, part 1: changes to web.js