Please move this setup to the [capa/display.coffee](https://github.com/edx/edx-platform/blob/dcs/fix-matlab-input/common/lib/xmodule/xmodule/js/src/capa/display.coffee#L487), like it was done for [javascriptinput](https://github.com/edx/edx-platform/blob/f8b84847b5fa01766820717f5864473ee1a4078b/common/lib/xmodule/xmodule/js/src/capa/display.coffee#L466).