Use index.js as main (fixes #253)