Minor alert manager update

- Formats code comments to be on their own lines and adds additional
code comments.
- Sets a default type at initialization.
Corrects code comment
Moves active class to inside container

Server-side applied active’ class needs to be on the toggle-container,
not on the fieldset. This commit fixes that.