Move dns javascript external