changing port to 4006
updating from FirehoseJS to Firehose
adding safeguard against a possibly undefined value