[minor] examples/server/orig.js: avoiding unnecessary regexp tests

Instead of testing every subscription for a match, publish to the client as soon
as a match is found.
Merge pull request #154 from jlbribeiro/examples-server-orig-subscriptions-shortcut

[minor] examples/server/orig.js: avoiding unnecessary regexp tests