#3504582 - Replaced the 'div' element with 'template' in the parseHTML implementation to allow td, tr and th tags to be inserted using ajax commands
Closes #3504582