Shouldn't this be loaded once, on the pages that might use this? Otherwise, it will be loaded multiple times if there are multiple zooming diagrams on the page.