quick fix by adding async to js and media=print to css