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
Merge branch 'master' into pulls/cms-modal

* master:
  wait for DOM to remove attribute use window.jQuery instead of $ updated to removeAttr method