jscript: Added jsstr_extract helper and use it in String.charCodeAt implementation.