Fix example
Merge pull request #1 from codler/patch-1

Explicitly require 'ws' in the example