Replaced AJAX success functions with .done functions
Corrected date display

Taken from
https://stackoverflow.com/questions/3605214/javascript-add-leading-zeroes-to-date
jQuery can now add cities via AJAX