add support to load js and css in the header