Sample apps inner html fixes

@markewallace - Hi Mark. I applied the pattern specified in the email from earlier and removed usages of innerHTML.