public static synchronized JS parseReader(Reader r) throws IOException {
CharStream cs = new CharStream(r);
- JSObj h = new JSObj();
+ JS h = new JS();
withinLI = false;
h.put("$name", "html");
try {
// scan subelement
if (cs.peek() != '/') {
- JS kid = new JSObj();
+ JS kid = new JS();
closetag = parseElement(cs, kid);
h.put(String.valueOf(length), kid);
h.put("$numchildren", new Integer(++length));