Nodeinfo: Fix js scoping to fix graphs.