update index.js for exporting classes
Merge remote-tracking branch 'origin/gh-pages' into gh-pages