fix js error in cloudcare
Merge pull request #2600 from dimagi/clouderror

fix js error in cloudcare