Empty ajax response on fail

Signed-off-by: Jevon van Dijk <jevon@atabix.nl>