Comment counts

- Fix random styling bugs with comment counts
- Add JS unit tests