Update header.js

Typo ofset => offset