Wrap pushstate.js contents in closure
Added window.affixOffsetTop in site.js, to be used in pushstate.js