Make removeChildNodes a prototype function instead of private