Revert #6192. It was causing a JS error on devstack.

TNL-1070
Merge pull request #6366 from edx/christina/fix-editing-bug

Revert #6192. It was causing a JS error on devstack.