Update scanner.js

removed app.configure as it throws an error and appears to no longer exists per http://expressjs.com/api.html#app.configure