We could just do
```
function getActivityData(client) {
  return client.executeScript(function() {
    return window.wrappedJSObject.getMozActivityData();
  });
}
```
, if you also like this way.