Fixes #5623/fix_ajax_loader