remaining changes from dygraph-utils.js

No match.