'Returns a uniquified list of script/link tags, preserving order.'

def uniquify(self, tags):

    seen = set()
    unique = []
    for tag in tags:
        if (tag not in seen):
            unique.append(tag)
            seen.add(tag)
    return unique
