FIX #46: Fallback to index.js if no main attribute in package.json

Sure I try to, but I have to learn a little more OCaml before. :smile: