[client][library.js] Remove a needless variable in getServerName()