datepicker initialization for travi/php-framework#29