Fix bug in playAudio() function
Fix bug in playAudio() function

This fixes a bug that keeps the game from resuming after a synced sound has finished playing.

Line 54: Added showCommandDiv, a boolean variable which finishSync() checked, although it did not exist.

Lines 55-83:  playAudio()
Changes are noted in the code.

Basically, finishSync() was set up to check whether showCommandDiv was true or false and that variable did not exist, which caused problems.

Also, the 'onended' function on the sound was set up to call finishSync() using the current visibility of txtCommandDiv, which the playAudio() function hides!

---
I tested this in Firefox and Chrome.

(I also changed the TODO message stating looping doesn't work in Chrome yet, because it does work now.)
textadventures/quest,textadventures/quest,textadventures/quest,textadventures/quest