Add index.js to scripts

This makes the library installable via Component.io
Merge pull request #1 from bergie/patch-1

Add index.js to scripts