remove extraneous script tag