added jsdoc for precog client library constructor