css files need to be inserted after existing <link> tags.
they are appended now, instead of insertBefore