Update dygraph-internal.externs.js to solve compilation conflicts.

detachEvent takes a function not an object (as the param name suggests). This can create compile conflicts.