Update index.js

Passed dependencies options to recursive call
Merge pull request #2 from jaalfaro/master

Update index.js