Fix javascript errors in HeaderTabs extension.