Adding AJAX request to upload image when you select image