added ability to directly set innerHTML via view.template