Create html views dynamically