Fixes some typos in docs, popup docs example formatting