Should use `!==` here, or `typeof element.scrollNavigation.dragStartX !== 'undefined'`. (To be on the safe side in older browsers, we should probably also add an `undefined` parameter to the top of the IIFE.)