add datetimepicker, upgrade jquery to 1.8.3, extract buyerSearch to a function