The main change is a strict separation of Javascript and Brython namespace.
Names defined in the global Javascript namespace are no longer available in
the Brython namespace : they must be referenced by
from browser import window
brython_obj = window.javascript_obj
This is achieved by managing all the names in the Brython code as attributes
of block-specific objects