Hi,
from the log it looks like the client can't find the xmlhttprequest module.
Did you run the following on the ubuntu machine?
npm install xmlhttprequest
npm install faye-websocket
If so try to add in your application the following call and let me know what does it return
[SYNTAX=JS]require("xmlhttprequest") [/SYNTAX]