Improved code example intention by using String.prototype.contains

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Merge pull request #31 from rwaldron/gh-pages

Improved code example intention by using String.prototype.contains