Create swag.node.js

alert() used in javascript example does not work for non-browser use
Merge pull request #25 from DavidJFelix/patch-1

Create swag.node.js