69 should be:
```offsetTop = (scrollToId) ? (scrollToId).offset().top : 0;```

My mistake, sorry!