make it work w/ repeat group

fyi - there's also a PR w/ CMB2 to add some triggers to that js

if you want to test this while waiting for that here's my fork of CMB2

https://github.com/AlchemyUnited/CMB2