Fix an issue with add-on selection when used with jQuery 1.9