minor improvement

shorten $title check in link() - consistent with the mailto() below;
remove redundant check in linkAsset() - it's checked inside link();