onDomRefresh should only trigger if the view.el is actually in the DOM
Merge pull request #855 from cobbweb/ondomrefresh-bug

onDomRefresh should only trigger if the view.el is actually in the DOM