Added document as a dependency to doubleClickWordSelection as it can use it if window.getSelection is undefined
Added document as a dependency to doubleClickWordSelection as it can use it if window.getSelection is undefined

andremw/refined-bitbucket,andremw/refined-bitbucket