JavaScript: support XCALL.