tweaking html append in MainContentForm.js

prior script was not updating the identified tag (i was having a lot of
issues with this in many of the prior experiments)