Syntax errors in example readme.

Looks like some of your examples that you noted were JS are half js/ half CS ¯\_(ツ)_/¯.