結果 : javascript extend existing function