Add index.js to scripts

This makes the library installable via Component.io