Re-enabled code for performing an army scan via ajax, as this code will now function again after recent ajax fixes.