tagify: compare against Node.TEXT_NODE for Safari

Compatibility issues, Safari does not have TEXT_NODE constant on
Element, but rather, Node.
Merge pull request #24 from behance/tagify-safari

tagify: compare against Node.TEXT_NODE for Safari