Update README.md

updated to use comma first examples, unassigned vars in one line, final semicolon at the front instead of at the end (like an ending curly). also mixed up good and bad examples in variables assigned at top of scope, so fixed that. Other minor fixes as well.