Dynamically loading external JavaScript and CSS files