fix add-on tab js issue