Javascript class names fixed, refs #724.
Merge pull request #868 from phaidon/javascript-class-names-fix

Javascript class names fixed, refs #724.