fixed example to work with express 3.x