[docs] use camelcase for property names in JS

These weren't ending up in the generated HTML.