bug ajax.js responseHandler: cannot read property of null

Signed-off-by: Marc Delisle <marc@infomarc.info>