Patching index.js and adding note to readme