Fixed title problems with ajax.