Fixing a bug that can throw a JS error if multiple forms are on the same page and a theme doesn't load JS properly.