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