diff --git a/src/utils/translate.js b/src/utils/translate.js
index <HASH>..<HASH> 100644
--- a/src/utils/translate.js
+++ b/src/utils/translate.js
@@ -1,11 +1,5 @@
 import { GetVendorPrefixedName } from './vendorPrefixes';
-
-// Transform property name to camelCase
-function camelize(str) {
-  return str.replace('-', '').replace(/-/g, ' ').replace(/(?:^\w|[A-Z]|\b\w)/g, function(letter, index) {
-    return index == 0 ? letter.toLowerCase() : letter.toUpperCase();
-  }).replace(/\s+/g, '');
-}
+import { CamelCase } from './utils';
 
 // browser detection and prefixing tools
 var transform = GetVendorPrefixedName('transform'),
@@ -21,7 +15,7 @@ export function TranslateXY(styles, x,y){
       styles[transform] = `translate3d(${x}px, ${y}px, 0)`;
       styles[backfaceVisibility] = 'hidden';
     } else {
-      styles[camelize(transform)] = `translate(${x}px, ${y}px)`;
+      styles[CamelCase(transform)] = `translate(${x}px, ${y}px)`;
     }
   } else {
     styles.top = y + 'px';
Use built-in camel case function