[node plugin] Be aware of index.js convention for requiring directories

Closes #78