typo fixes in documentation and class added by js