Actors implementation for JS using Flux