diff --git a/ippisite/ippidb/templates/base.html b/ippisite/ippidb/templates/base.html
index 5e37787e9c2543048b0d9b02b4668ed4de87e2b6..4364ad63762741411eeb1f35e823c372d9c1e8bc 100644
--- a/ippisite/ippidb/templates/base.html
+++ b/ippisite/ippidb/templates/base.html
@@ -97,7 +97,7 @@
                 var currentCompoundData = [];
                 var currentFamilyData = [];
                 var otherFamiliesData = [];
-                plotData.forEach((item) => {
+                plotData.forEach(function(item){
                     if(item.id == compoundId){
                         currentCompoundData.push(item);
                     }else if(item.family_name == compoundFamily){