結果 : javascript use variable from outside function