logaan/Comprehensive-Google-Map-Plugin — comment on commit dcf75b2fa21af1b76d79a7db53f8ee93cb16cff0
File: assets/js/cgmp.admin.js line 139
By logaan:

Often through this script you use explicit IDs and string manipulation to identify elements. Instead you should be able to have one function that's called when the widget is loaded (eg. initCGMPWidget($(this)) ) and then all the code relating to setting up that widget can be done in terms of that one reference node.