fixed multi-selection problem
generate GWT JSNI code for use in an external format writer