adding async and defer attributes