Some experiments with CSP in Javascript based on ES6 generators, see http://swannodette.github.io/2013/08/24/es6-generators-and-csp/