Odd return values for multiple forms

Fix for #73 . The ajax() function got called twice due to the request status being wrong.