Make sure the jsni referencing onClose is correct
Add work around for javadocs not playing friendly with gwt jar