Fix typo
Generate text to copy by frame script side
Use latest JSDeferred (based on Official)