code: function getClosestTodoElement(element) {
  
  		var matchesSelector = element.matches || element.webkitMatchesSelector || element.mozMatchesSelector || element.msMatchesSelector;
  
  		while (element) {
  			if (matchesSelector.bind(element)('li')) {
  				return element;
  			} else {
  				element = element.parentNode;
  			}
  		}
  		return false;
  
  	}
docs: Returns the nearest todo element
  @param {HTMLElement} element A root/child node of a todo element to search from
  @returns {HTMLElement}
  @private