fixes js library
adds put/post/delete to api proxy
adds javascript low level api: raw get/post/put/delete
updates js api docs