Added default date format to datepicker. Initialized the array of links to an empty array. Fix #106