added samples for template refresh, htmltemplate, domevents, keynav, scroll control, custom map