In the future, we should find another way of handling dynamic properties in Javascript.
Maybe creating a MutableJavascriptObject base class, which extends JavaScriptObject and which is the superclass of a lot of gwt-d3 classes. 
For now, let's keep this method in Node.