結果 : javascript call method if it exists