Fixed mapping call after AJAX.