Create basic `index.js`.

Closes #3.