wait for DOM to remove attribute
use window.jQuery instead of $
Merge pull request #70 from jeffreyguo/pulls/jserror

wait for DOM to remove attribute