more ajax, more debug statements