null check is unnecessary, YAHOO.lang.trim(null) is null, both null and empty string are falsy, so just check that YAHOO.lang.trim(this.title) is truthy