fix javascript typo that was breaking sortable tabs [Fixes #58246118]