Move the var declaration to the top of the `app.get` method.