GraphViewer: JSLint fixes