Hello There,

first of all, I suggest you to use the new Lightstreamer JavaScript client version 6 instead of using version 5. The new client heavily simplifies the engine and connection handling...