You might also want to check out this example: https://github.com/Weswit/lightstreamer-example-BandwidthandFrequency-client-javascript