Missing parameter in _prepareData

I'm seeing this error in my console

Uncaught ReferenceError: graph is not defined

Adding this parameter fixes the function for me.
Merge pull request #42 from timl/patch-1

Missing parameter in _prepareData