Basic updating of times and commercial block locations for moving a spin in js