Node JS code to call the Garmin Connect API