javascript library to easily interface with the cosmos.is API