Fridge API client for JavaScript