line 16 must be fixed up too then:
```javascript
 var offset = { top:0, left:0 };
```