corrected 'ownerDocument undefined' error in the rowBuilder function.