fixing up some js so i can get coordinates from v2 again.