fix js error when no form source
Merge branch 'ct-app-rebased' of github.com:dimagi/commcare-hq into ct-app-rebased