Php String Loop Through Object Jquery Datepicker