Updated bug in grapher.js