I’m a little unsure of whether to trust the behaviour on your staging site as there are so many un-related client-side exceptions. Client-side exceptions interfere with the normal operation of javascript. The first step here is to have a properly functioning test environment.
…
I have tested the functionality myself, in a production environment without exceptions, and it was working as expected.