結果 : javascript execute function if not null