Javascript network display accessed as resource