finish wiring up netgame.js