Hax for extra attributes (media, id) on <link> elements