fix nasty bug in datepicker helper

When user change date value, DateFormat is changed too because it wrap
inside _datepicker div element. By move the DateFormat element out of
_datepicker we eliminate the bug.