Fixed partial 'Unrecognized Expression' bug with trim

This trims the response from the synchronized partial before sending it to $() and inserting it into the element.