Async loader which loads CSS and JS files