Fixed corrupting script tag issue.