Update offset.js

Fixed a small typo