Whitespace
Make AJAX requests match the method of the form they're on

This is the simplest way to be able to choose the AJAX method a form
should use, e.g. if the AJAX calls need to use POST because of a
very bulky form.

It means that AJAX will sometimes use POST unnecessarily. We can
revisit this later.
Put back the test for AJAX method

TODO: still need a test for computehidewhens