Allow to output script tags with async attribute

included test for js async blocks