bugs fixed in nodejs api and jsscope added to prettydiff ui