Modernizr style seems to be:

```javascript
function domToHyphenated( name ) {
```