Fixed typos and minor consistency issues in README

1 typo
2 missing braces
Made var usage consistent