fix email autolink and remove twitter detection in js