(#1883) & (#1842) - split ajax up into 2 parts, also figured out how to ...

...do the version thing