Declare locals in destroyObservable
Merge pull request #988 from mitchless/yikes_globals

Declare locals in destroyObservable