add support for two news demos: javascript and cluster