Fixed audio recording JS