Delay in CSS Injection

Hi everyone,

I used bootstrap and css injections to create a navigation bar in my layout. It seems like there is a small delay of injecting the css on every refresh. Is there anyway to fix this behaviour?

Here is a link to source code: GitHub: SeisKit

Thanks in advance.