Commit back main.js, fix zoom and mirror tabs