Origen: How to Connect to an API with JavaScript