Add .text for IE8-
fix indentation
Merge pull request #11 from luanmuniz/fix-test

Fixing tests for IE8 (no support for Node.textContent)