code: function (aElements, fnFilter, fnFormat) {
  				var i,
  					iLength = aElements.length,
  					aNewElements = [],
  					oElement;
  
  				for (i = 0; i < iLength; i++) {
  					oElement = aElements[i];
  
  					if (fnFilter && !fnFilter(oElement)) {
  						continue;
  					}
  					if (fnFormat) {
  						fnFormat(oElement);
  					}
  					aNewElements.push(oElement);
  				}
  				return aNewElements;
  			}
docs: Filter and format elements
  @param {array} aElements list of elements
  @param {function} fnFilter filtering function
  @param {function} fnFormat formatting function
  @returns {array} transformed elements list