replaced .nodeValue with .value when manipulating attribute nodes
0.3.1