Fix crash when using body filters
diff --git a/web/src/js/filt/filt.js b/web/src/js/filt/filt.js
index 2605864971..19a41af225 100644
--- a/web/src/js/filt/filt.js
+++ b/web/src/js/filt/filt.js
@@ -1929,7 +1929,7 @@ module.exports = (function() {
     function body(regex){
         regex = new RegExp(regex, "i");
         function bodyFilter(flow){
-            return True;
+            return true;
         }
         bodyFilter.desc = "body filters are not implemented yet, see https://github.com/mitmproxy/mitmweb/issues/10";
         return bodyFilter;
@@ -1937,7 +1937,7 @@ module.exports = (function() {
     function requestBody(regex){
         regex = new RegExp(regex, "i");
         function requestBodyFilter(flow){
-            return True;
+            return true;
         }
         requestBodyFilter.desc = "body filters are not implemented yet, see https://github.com/mitmproxy/mitmweb/issues/10";
         return requestBodyFilter;
@@ -1945,7 +1945,7 @@ module.exports = (function() {
     function responseBody(regex){
         regex = new RegExp(regex, "i");
         function responseBodyFilter(flow){
-            return True;
+            return true;
         }
         responseBodyFilter.desc = "body filters are not implemented yet, see https://github.com/mitmproxy/mitmweb/issues/10";
         return responseBodyFilter;
@@ -2104,4 +2104,4 @@ module.exports = (function() {
     SyntaxError: peg$SyntaxError,
     parse:       peg$parse
   };
-})();
\ No newline at end of file
+})();
diff --git a/web/src/js/filt/filt.peg b/web/src/js/filt/filt.peg
index 129594741e..05b487b788 100644
--- a/web/src/js/filt/filt.peg
+++ b/web/src/js/filt/filt.peg
@@ -72,7 +72,7 @@ function responseCode(code){
 function body(regex){
     regex = new RegExp(regex, "i");
     function bodyFilter(flow){
-        return True;
+        return true;
     }
     bodyFilter.desc = "body filters are not implemented yet, see https://github.com/mitmproxy/mitmweb/issues/10";
     return bodyFilter;
@@ -80,7 +80,7 @@ function body(regex){
 function requestBody(regex){
     regex = new RegExp(regex, "i");
     function requestBodyFilter(flow){
-        return True;
+        return true;
     }
     requestBodyFilter.desc = "body filters are not implemented yet, see https://github.com/mitmproxy/mitmweb/issues/10";
     return requestBodyFilter;
@@ -88,7 +88,7 @@ function requestBody(regex){
 function responseBody(regex){
     regex = new RegExp(regex, "i");
     function responseBodyFilter(flow){
-        return True;
+        return true;
     }
     responseBodyFilter.desc = "body filters are not implemented yet, see https://github.com/mitmproxy/mitmweb/issues/10";
     return responseBodyFilter;

They still don't work, but at least the web interface won't crash.