webui: replaced our hostname lookup code with Asus's new code; merged what was left of nameresolv.js into client_function.js