do add functions in js
remove unused footer
show if no content in group
make sure we always have a group id