Updated to work with express 4
Updated example