set media print and async javascripts