Add index.js to scripts.