Extra check for doc before accessing reapTimer
Merge branch 'master' of github.com:adig/ShareJS