Wouldn't it be useful to define following:

```
var keys = Object.keys(this.vars);
```

And then use this instead of calling the key extraction function up to 3 times per loop?