The JS canvas of the toolchain editor stopped working

The JS canvas of the JS editor stopped working after the last upgrade.

@philip.abbet: could you please take a look since you're our only expert on this component?