Fix example code in README.md

Fixes "Error: missing '{' near line 1:15" thrown from missing semicolon.