A REST API javascript client for the browser