Add a binding for Document (getElementsByName)