remove redundant script tag