Lightweight (and somewhat feature-incomplete) version of https://github.com/twitter/twitter-text-js