JS added to Create PLayer