Fix for Express 4.0.
Update index.js
Merge pull request #3 from antonshevchenko/master

Fix for Express 4.0.