Make javascript files and print.css asynchronous