add index.js for node requires
add main in package json
Merge pull request #137 from matiu/feature/index

add index.js for node requires