//<script type="text/javscript">
-XObject = imports.XObject.XObject;
+const XObject = imports.XObject.XObject;
/**
@constructor
*/
-TextStream = XObject.define(
+const TextStream = XObject.define(
function(text) {
if (typeof(text) == "undefined") text = "";
text = ""+text;