datehelper, routes fix, using registerScript, improve datetimeBehavior