AJAX Chart With Loading Gif