Rename index.js to directory.js