Issue #3586391: Fix JavaScript error in Entity Browser contexts when facets summary settings are missing

Added defensive checks in facets-views-ajax.js so the code doesn't blow up when drupalSettings.facets_views_ajax or facets_summary_ajax isnt available, which is what happens inside Entity Browser modals in Layout Builder. Also guarded the DOM lookup for the summary wrapper since .attr('id') returns undefined if the element isnt there and that was causing the indexOf to throw. Behavior stays identical when settings and DOM are present.

Closes #3586391

Merge request reports

Loading