diff --git a/token.css b/token.css
index 0df6c8e..9689e8e 100644
--- a/token.css
+++ b/token.css
@@ -8,3 +8,7 @@
   padding-top: 0;
   padding-bottom: 0;
 }
+
+table.token-tree:not(.js) tr.token-group {
+  font-weight: bold;
+}
diff --git a/token.js b/token.js
index 59715f4..8e1ed62 100644
--- a/token.js
+++ b/token.js
@@ -5,6 +5,9 @@ Drupal.behaviors.tokenTree = {
   attach: function (context, settings) {
     $('table.token-tree', context).once('token-tree', function () {
       $(this).treeTable();
+      // Add a 'js' class on the table itself when JavaScript is enabled so
+      // we can style it differently.
+      $(this).addClass('js');
     });
   }
 };
