Fix require() to work with index.js
Make error messages from require() more useful
Merge pull request #127 from jasonk/master

Fix require() to work with index.js