Fix documentation inconsistencies (examples violate different rules).

I noticed that several of the examples contradict rules (double quotes, == instead of ===, a mix of camel case and underscores.) This seemed slightly confusing, so here's a pull request that attempts to address it. Feel free to disregard if a more complete update is underway. Thanks!