Update index.js to use node's require searching.