fixed doc typos

side note: english is not as fun as javascript :(