+ extend State attribute of document object