Since we manipulate the jQuery objects for #menu and #sub-head twice, we should cache the objects so that we don't need to search the DOM twice each. Ex:

```javascript
var navEls = $('#menu, #sub-head');
if (docScroll >= menuOffset) {
    navEls.addClass('fixed');
}
else {
    navEls.removeClass('fixed');
}