dealing with empty string ajax return from php