Pascal case a string in JavaScript