study how to play js