Beautiful Chaos Javascript