Adding docs
Merge pull request #2 from jeffheifetz/master

Adding docs for index.js