new_player working with pure js