I use Popups: Add and Reference to help with node references on node add/edit pages.

However, the Popups module adds a very large set of data to Drupal.settings for originalCSS and originalJS far beyond when it's nedded.

FYI: The "Scan all pages for popup links." setting is unchecked.