I'm happy to do that, but will this really make an appreciable difference (not opposed to the change, just asking)?
Would it perhaps be even better do:
```
var previousLength = this.previous.length;
while (previousLength > HISTORY_SIZE) {
  this.previous.shift();
  previousLength--;
}
```