結果 : javascript run function if exists