fix scope loss causing error in express.
Merge pull request #14 from kilokeith/master

Fixed loss of scope for `res` Object causing error in express.