diff --git a/js/component_scripts.min.js b/js/component_scripts.min.js
index bcc0831f754d85c7478248ca37f27ea173313fab..35167cdd73becc42c13570d8c8ce918f558ae428 100644
--- a/js/component_scripts.min.js
+++ b/js/component_scripts.min.js
@@ -592,3 +592,31 @@ else {
         }
     }
 })(jQuery, document, Drupal);
+
+/**
+ * @file
+ */
+
+(function ($, Drupal) {
+  Drupal.behaviors.viewcontact = {
+    attach: function (context, settings) {
+      $(document).ready(function () {
+
+        $('.uw-contact-expand-all').click(function() {
+          $('.uw-contact details').each(function() {
+            console.log($(this));
+            $(this).attr("open", "");
+          });
+        });
+
+        $('.uw-contact-collapse-all').click(function() {
+          $('.uw-contact details').each(function() {
+            console.log($(this));
+            $(this).removeAttr("open");
+          });
+        });
+
+      });
+    }
+  };
+})(jQuery, Drupal);