Clean up some whitespace, replace obsolete method for WebAudio API