Reset can on window when loading

This fixes #1345 by reseting the global `can` each time the dependency
graph loads. The problem was that the internals of can expects to only
be loaded one initial time. By not reusing the can that is already on
the window we allow a fresh load each time.