Fixes incorrect string concatenation in example.

Issue got introduced in 299f7d17 when removing console.log from the examples to shorten them.