Update to new JS-SDK and added more examples