Make initial index.js more asynchronous.