# added configurability options
# modified demo, added jquery + $() test
# replaced removeAttributeNode by removeAttribute