update main reference to index.js for nodejs