Some tidying up, fix 'textContent' bug
Merge pull request #41 from Financial-Times/tidy

Some tidying up, fix 'textContent' bug