Javascript library to connect to swagger-enabled APIs via browser or nodejs