Helper to execute scripts only in modern browsers

also using it for the words to avoid highlighting feature.