fix require call to load the index.js file