An entity component system in Go and Javascript for multiplayer games