move script tags to header from footer and make them load async