Fix javascript for group toggling icons.
Merge pull request #33 from msrose/bugfix/group-toggle

Fix javascript for group toggling icons. Closes #29.