updated JavaScript Unit Test to support New Demo Key response.
updated JavaScript Unit Test to support New Demo Key response.

jamesward/pubnub-api,jamesward/pubnub-api,jamesward/pubnub-api,jamesward/pubnub-api,jamesward/pubnub-api,jamesward/pubnub-api,jamesward/pubnub-api,jamesward/pubnub-api,jamesward/pubnub-api