Added AJAX image upload support with JQuery