Remove and readd all head elements to ensure script tags get executed again.  Don't remove attributes to not break Typekit and the like.