Clean up README.md example so that it is correct syntax

I just made a few changes to the README.md example where js3-mode warned me of syntax errors.