fetch all the stream using java script
2 answers
The general problem is, that the question "fetch all the stream using java script" does not make any sense. This is the reason why I start to consider not replying any more to all these JavaScript questions that mostly fall into the same category.
JavaScript is just a language (and one of the most terrible ones if you ask me). You can not do anything with it in the context of Jazz if there is no API. So you really would have to ask about an API.
Parts of the Jazz UI are written in JavaScript with no published API. So you can try to look at what that is doing, if you are skilled enough and use same mechanisms. Most people are not and this approach is not supported by IBM either.
You can use JavaScript and try to use available REST/OSLC APIs from it to access data. I have no clue if you can do what you desire.
The only JavaScript API supported for work item (attribute) customization I am aware of is https://jazz.net/wiki/bin/view/Main/AttributeCustomization and the API is so small that it is not too much to read it and streams are nowhere mentioned. The answer with respect to that is No.
And answer to the follow up question/comment you are about to write is most likely also no. (I have seen this pattern over and over again).