Modified AJAX calls to actually be asychronous