clean up code in TenderFacadeImpl, ProposalDto and tenders.js