window isn't guaranteed to be defined. datapeer was hardcoded for it.
Merge branch 'master' of github.com:UWNetworksLab/freedom