Switch from .append() to .html() to avoid i-afw bug.