Trim the result of documentHtml() so jQuery 1.9.x can parse the string
Merge pull request #7 from KB1RMA/1-9-syntax-error-fix

Trim the result of documentHtml() so jQuery 1.9.x can parse the string