Small utility for creating DOM elements