Update cscript js interface (use utf-8)