Handle addons localstorage clean up when we deactivate an addon
Fix functions.js file check
Hooks : Pass the deferred as last argument
Addons can hook into the debug panel