update express endpoint for express4
backwards compat for express 3
Merge pull request #6 from dannyrscott/master

update express endpoint for express4