index: add conditional encoding of text nodes
index.js: add unencodedElements
index.js: add ";"
index.js: rm name, isMatch,
Merge pull request #2 from coderaiser/patch-1

index: add conditional encoding of text nodes