index.js
function _getDOMElement( container, str ) {
  var el = container.querySelector( '[name=' + str + ']' );
  return el ? el : null;
}
function _getDOMElement( container, str ) {
  var el = container.querySelector( '[name=' + str + ']' );
  return el ? el : null;
}
function _getDOMElement ( container , str ) { var el = container . querySelector ( '[name=' + str + ']' ) ; return el ? el : null ; }
Returns the first element matching the provided string.
@param  {object} container DOM element node of parent container.
@param  {string} str Value to be provided to the selector.
@return {object}     Element object.
Returns the first element matching the provided string .