Redundant code, present in nameresolv.js for sharing with other pages
Updated with Asus's changes