wicket-js makes it easy to write and handle custom JavaScript and JQuery from within Wicket Components and Behaviors.