I think y’all want the following replacement:
jQuery("img").attr("src", arguments[i]);
to
jQuery(".events-calendar img").attr("src", arguments[i]);
Which will limit the replacement to the contents of the calendar widget, unless I have my CSS selector syntax wrong.
Thanks for the thread, though– would’ve taken me all day to find it otherwise.