We have based this behavior on the following tests: 

custom_bars.js
error_bars.js
missing_points.js
simple_drawing.js
to_dom_coords.js

which all use the same global variable. We're not sure what to do now since the same would apply to all of these tests. Any idea?