Dynamically load js and css files into header