A JavaScript REST API.