The JavaScript code attached seems correct and so the the problem might be on the adapter side, right in the generation of updates.

You would be able to show us a piece of Lightstreamer log capturing the begin of a subscription and some updates sent?
Please, set the level to DEBUG for "LightstreamerLogger.pump" and "LightstreamerLogger.subscriptions" loggers in lightstreamer_log_conf.xml configuration file.