VP-297: Fixed the demands blocks that hook up different templates for html5 and non-html5 browsers.