set main script to  index.js, fixed #142
Merge pull request #143 from cnpm/issue142-module

set main script to  index.js, fixed #142