Experiments in JS and erlang