A simple abstraction over DOM to select and create elements