Update getObserverFacade.js

Added a missing 'else'. Fixes a bug where cancelling a pattern observer would (additionally) throw an error.