Use `ltx` from `node-xmpp-core`. Fixes #40.

Included some syntax updates too
Fix variable name
Merge pull request #41 from node-xmpp/issue/40

Use `ltx` from `node-xmpp-core`. Fixes #40.