WICKET-5537 Wicket.DOM.toggleClass is called with additional "#" inside AutoLabelResolver