Move such DOM setup out of your ViewModel and into a "bootstrapper" area instead. You should also pass it a specific DOM node as the second parameter if you expect the page to evolve with more ViewModels in the future.
age: