dom.js
function(html, tag) {
		var el = document.createElement(tag || 'div');
		el.innerHTML = html;
		return el;
	}
function(html, tag) {
		var el = document.createElement(tag || 'div');
		el.innerHTML = html;
		return el;
	}
function ( html , tag ) { var el = document . createElement ( tag || 'div' ) ; el . innerHTML = html ; return el ; }
Creates a new HTMLElement with provided contents
@param {string} html - HTML contents
@param {string=} tag - Optional tag of the element to create
Creates a new HTMLElement with provided contents