fix comet to work after returning to page via back button

This fix extends existing wf:comet/n making possible to auto-restart comet process(es) when returning to the page via browser's back button. Old functionality not changed.