Updated Wicket AJAX calls.

The format for Wicket AJAX calls has changed with version 6. I have
updated the library to use this new format.

(cherry picked from commit 939a4fbd133b8fb62b56e1817cfe8d219b0bd6cb)