LPS-50452 Migrate Portal Settings portlet aui-base javascript

I think for this case, I prefer going back to the other methods where there was a wrapper around the `changeLDAPServerPriority` method.
The reason is because in order for someone to perform the action (raise or lower the ldap server priority), they have to understand both the DOM structure and the underlying API of the library we're using. While it's only these two methods, theoretically, it could be called from anywhere, and they may not know the order of the elements, or how that is related to raising or lowering. So I would say we can keep your impl changes, but we should still be calling explicit methods for these actions.
Hopefully that makes sense, but let me know if you have any questions.