I am beginner in all of this and also I would like to know why this is happening. In this example every generation have 20 new genomes (birds), 3 best stay from previous generation (elitism), rest are effect of mutation. Maybe mutation rate/range have to be tweaked. Current solution is best what I found so far.
I think that environment in Unity version is more complex, it uses "real" physics (box2d) to simulate the world.
JS version use very simple collision detection.
But I am not 100% sure (this is my beginning in AI world)