Creates a standalone JavaScript API for communicating with a RESTful web service.