added readme for js
updated to work w current api