Enhance loadblock function strip scripts tags to avoid re-executing scripts