Added CSRF protection to nodejs example

Fixed issue #22