Fix JS on back button; fixes #866
Fix dynamic choices table name
Add member group(s) to PDF models, fixes #868