integrate Dean's sound fix

so JSLint doesn’t complain (no functionality changes). Thanks, Dean!