JS D3 game