How do i generate a random numnber (a 1 or a 0) in javascript and then play a sound if the number is a 1?