Add some DOM attributes to Document metatable