add index.js and json tests
add node test
minor fix