Dynamically added js and css files in main template.