datepicker was missing js include files which meant it didn't work unless daterange picker was also included