Minor JS update for games