Remove getAjaxVersion().

It was very specific to prototype, which has a very low adoption rate these days. I can deprecate this method in 2.6 as well.