Minor update to graphwidget.js