No need for ```var node```:
```javascript
if (this.shapeNode) this.extent = this.getExtent();
```