fixed jshint errors/warnings in dns.js