Fixed issue on removing a DOM attribute

Fixing issue in PR#70: updated to removeAttr method