Add default div in HTMLBuffer constructor
Fix missing view reference