fix safari browser detection again

Signed-off-by: Ace Han <ace.jl.han@gmail.com>