Fix typo in AJAX image processing