Fix defer scripts elements