fix bad javascript syntax
Merge pull request #5037 from dimagi/cloudcare-js-error

fix bad javascript syntax