--- a/model/prov-constraints.html	Mon Jul 23 14:50:20 2012 +0100
+++ b/model/prov-constraints.html	Mon Jul 23 14:58:19 2012 +0100
@@ -183,10 +183,7 @@
       }
 
 
-      $(document).ready(function(){
-        updateRules();
-        updateRulesRefs();
-        updateFigCaptions();
+      function removeDataAttributes() {
 
 
         $('.anexample').each(function(index) {
@@ -230,6 +227,12 @@
           $(this).removeAttr('data-count');
           $(this).removeAttr('data-title');
         });
+}				    
+
+      $(document).ready(function(){
+        updateRules();
+        updateRulesRefs();
+        updateFigCaptions();
 
 
 
@@ -388,7 +391,7 @@
           // Add extraReferences to bibliography database
           preProcess: [addExtraReferences],
 
-          postProcess: [updateFigures],
+          postProcess: [updateFigures, removeDataAttributes],
       };
     </script> 
   </head>