Document object destructuring