Trying to create async ajax request