Event projections in node and browser