This throws up a new linter error:

[jshint] Error(s) in dygraph.js:
Don't make functions within a loop. (dygraph.js:2313:8)
> };

Please run "make lint".