Backwards js compatibility with old template
Re add globaled group_id