Can these variables be hoisted to keep with our conventions?

i.e.

```javascript
 plugin.events.on('response', function (req) {
    var res, path, pkg;

    res = req.response;
    path = res.headers && res.headers['x-registry'];
    pkg = req.params.p.split('/')[0];

...etc
```