Small optimization - do not read the <component>'s text if the old HTML element is not in the DOM
Fix the path to jquery for the tests
Pass jQuery as a parameter to fix warnings in the IDE
WICKET-5459 Use method chaining where it makes sense