Added ability to insert many HTML documents one by one