WICKET-5082 ensure consistent JavaScript ordering with Wicket's
IHeaderRenderStrategy for Ajax responses and removing special handling
of Ajax response in AjaxEventBehavior, i.e. not calling
appendJavaScript()