if you don't like the cleanup function, you can comment this line:
Blockly.getMainWorkspace().cleanUp()
at here: