fix(waveform): make script compatible with strict mode
fix(waveform): avoid crash when minified
Merge pull request #1 from meriadec/master

waveform:fix error in dist mode