Clean-up the events in filebrowser-popup.js