Revert "Fix js error in custom case exports"

Reverts dimagi/commcare-hq#4202