Refactored ajax.php - > ajaxEvents.php
Added ajaxImages.php