ajax program with modified response header