remove extraneous script tags