fix JS errors in case config when it references an unknown case type
Merge pull request #825 from dimagi/fix-case-config-js

fix JS errors in case config when it references an unknown case type