Prefix the variant/addon menu indexes to import in JS as a string
Fixed #2454 Rewrote the event handlers for jQuery.on() delegation