add setFromJS to the readme