Prevent scripts from loading multiple times for an element.