Fix race condition (TypeError: Cannot call method 'get' of undefined)

Sometimes a listener may be removed between the call `length = watchers.length;` on line 517 and `watch = watchers[length];`; in this case, `watch` will be undefined and the call to `watch.get` at line 523 will fail.