allow dart translation to be enabled with "pythonjs.configure(dart=True)"