Hide data rather than output blank

Hide data rather than output blank. The original solution will have html like:

    <a href="undefined"></a>

This patch is related to https://github.com/spmjs/spmjs.io/issues/4