A JavaScript client for wp-json-api