JavaScript SDK for Cogfor API