fix disappearing JSON in import app
separate JS functionality from Django in import app
Merge pull request #1873 from dimagi/fix_import_app

fix disappearing JSON in import app