Fixing JS dashboard issue with comments