Refactoring main.js
Add old tab reactivation
Edit close bookmark tab after 100ms