Fixed element.attributes = null error with phantoms.
Fixed element.attributes = null error with phantoms.

cksource/quail,cksource/quail,baldwicc/quail,quailjs/quail,baldwicc/quail,legendvijay/quail,legendvijay/quail,cksource/quail,quailjs/quail,quailjs/quail