Wrap devtools window for access from JS