typo + js docs