bind event listener to document for default