MDL-36804: Added a js module to collapse the submission history