getElement = (selector, domain) => {
  if (!domain) {
    return document.querySelector(selector)
  } else {
    return domain.querySelector(selector)
  }
}
Queries an element from the DOM
@param {String} selector Element selector
@param {Node} domain HTML element in which to query for element
@returns {Node} Node