added two methods to NodeList: addClass() and removeClass()