game js and join js