fixed typo in request handler & updated examples
removed index.js