did some collatz. onto objects in js