Client-side Javacript library for JSONCast API