Fixed safari detection.
remove console.log