This is the first step for lazy loading of reference lists. Just remove them from the HTML.
There are rules about which references lists to remove. This is because we need to ensure that the intent of the author is not changed. Here is a first pass at a heuristic:
1. If a reference list is in the last section (or 2?), it should be removed
2. Do not remove reference lists within info boxes
3. Do not remove reference lists in sections with other content
This should ensure that references that are "part of the content" remain so. It also allows us to remove large lists from the end of a page in order to deliver it performantly and to be able to construct a custom UI on the client