var positionStickySupport = function () {
var el = document.createElement('a'),
mStyle = el.style;
mStyle.cssText = "position:sticky;position:-webkit-sticky;position:-ms-sticky;";
return mStyle.position.indexOf('sticky') !== -1;
}();
var footerOffset = $('.js-footer-offset').innerHeight() + 20;
if (!positionStickySupport) {
$.lockfixed(".sidebar-box--fixed", {offset: {top: 81, bottom: footerOffset}});
}