Remove references to empty JS files and replace with inline JS to reduce HTTP requests on image and security group detail pages.