removed post type validation which is not needed and reverted datepicker js for date picker to work on flashdeals