I mean: doing this change breaks the indentation. To fix this *and* to avoid having a huge unusable diff that re-indents everything, you should write something like:

```js
    var CAPIError = require("structures/CAPIError"), 
        SessionAuthAgent;

    /**
     * blabla
     */
    SessionAuthAgent = function (credentials) {

    }
```

And this is valid everywhere you remove the `var` keyword like this.