Fix WAV file support

The previous implementation assumed the file only contained RIFF, WAVE,
fmt, and data chunks.  It is valid for other chunks to appear, so I
updated it to skip any chunks until it finds the "data" chunk.
Add playSoundWave.js
Merge pull request #2937 from huffman/19714

Code Review for Job #19714