Re: jscript: Change prototype of jsstr_alloc_buf and fix some error handling issues.