Fix for case when adding an attribute and normalize() already exists 

This is showing in node v0.11.13 and has been noted here #769.

Here is a fix based on the recommendation in the above issue.