transferring network to module. pan/zoom not working, though, and some jquery error about event.returnValue deprecated...