Updated to work with express 4
Updated example
Updated as per @kapouer's comment
Merge pull request #5 from faceleg/master

Updated to work with express 4, fixes #4