Browser-side library for interacting with the tidepool platform