結果 : get x and y coordinates of element javascript