Adding HTMLDocument to sources