JavaScript client library to access Consonant web services