fixed dom.js bug in displaying jsscope output