Update index.js

anything against passing there next callback?
this will make it more compatible with middleweres