結果 : get current position of element javascript