A thin DOM abstraction layer for dynamically creating dom elements from objects