Fixed responses in ajax forms

Signed-off-by: Tom Wright <tom@inflatablecookie.com>