Changed initializer to the customevent on domcontentloaded

I know this isn't a comment on this PR, but could we change 'viewmodel' here to something more generic.  Not all NodeJS developers will have an architecture in which they recognise the concept of a viewmodel, but they can still benefit from using this method to determine the initial value of the `{{humanReadableDate}}` value.