issue 5 - changed nsIObserver to DevToolsAPI