Problem jquery event  in search by date fixed