Asynchronous call to speed up (a lot). Thanks @adcas !
Added datepicker to main page