sync udts.js to tls.js in v0.8 branch