Update main.js

started adding multiplayer