function ( -> function(
is -> matches, improve replace method
add if (this.parentNode) check into manipulation methods