move moz-document into existing declaration