code: function filter(/*DOM*/ elem) {
  
  		// execute and remove jbst:oninit method
  		var method = popMethod(elem, INIT);
  		if ('function' === typeof method) {
  			// execute in context of element
  			method.call(elem);
  		}
  
  		// execute and remove jbst:onload method
  		method = popMethod(elem, LOAD);
  		if ('function' === typeof method) {
  			// queue up to execute after insertion into parentNode
  			setTimeout(function() {
  				// execute in context of element
  				method.call(elem);
  				method = elem = null;
  			}, 0);
  		}
  
  		if (JsonML.BST.filter) {
  			return JsonML.BST.filter(elem);
  		}
  
  		return elem;
  	}
docs: JsonML Filter /*DOM