Modified camelize(str) function to allow compatibility with old browser that do not support ES5

Changed from match[1] to match.charAt(1) because there are still some browsers that do not support ES5 yet (incredible I know ...) Internet Explorer I'm looking at you !.