add 'defer' usage for script tags