Trying to get coords with for...in loop