JCMT 850 micron continuum observations of density structures in the G35 molecular complex