Feature/jquery datepicker r1

used jquery. ui for published at date
This function should be defined before it is being called. So please move the declaration at the top of the file.