empty = element => {
  while (element.firstChild) {
    element.removeChild(element.firstChild)
  }
  return element
}
Util to remove contents of DOM Node
@param  {HTMLElement} element
@return {HTMLElement} element with its children removed