change 'Document' back to 'Object' in error message
fixes test err where err_regex not defined for js
Merge branch 'next' into bill_document_object_change