Properly format the JavaScript name