XJSText support in scanner