JS client to connect to the content-api