FIX: ensures custom fields work when using _ in the name

FIX: ensures custom fields work when using _ in the name

diff --git a/assets/javascripts/lib/raw-event-helper.js.es6 b/assets/javascripts/lib/raw-event-helper.js.es6
index a1377c1..bc4bbde 100644
--- a/assets/javascripts/lib/raw-event-helper.js.es6
+++ b/assets/javascripts/lib/raw-event-helper.js.es6
@@ -87,7 +87,10 @@ export function replaceRaw(params, raw) {
 }
 
 function camelCase(input) {
-  return input.toLowerCase().replace(/-(.)/g, function (match, group1) {
-    return group1.toUpperCase();
-  });
+  return input
+    .toLowerCase()
+    .replace(/_/g, "-")
+    .replace(/-(.)/g, function (match, group1) {
+      return group1.toUpperCase();
+    });
 }

GitHub sha: 57f12f36