wait for DOM to remove attribute
use window.jQuery instead of $
updated to removeAttr method
Merge pull request #71 from jeffreyguo/pulls/jserror-2

Fixed issue on removing a DOM attribute