change to utf8 encoding
Use document fragment for greater script adding speed.  new netPaths variable, for clarity