Removes unused script tag