Evaluate streams of JavaScript code in a given context