結果 : get current element position javascript