Add tidy module
Tidy html documents before throwing them at poor jsdom (htmlparser has a few issues with bad html)