結果 : javascript check for function exists