I didn't change the AddStyleSheet(). Duplicate style sheets won't happen that often (that could since there are css frameworks out there and js framework can have style sheets) and since they cascade not adding a style sheet could change the style of a page, I don't know what it should do (not add? or remove the previous one?).