Clean up design for mapping dom and non-dom amchart js events gwt events.