JavaScript: Visualizing music with Web Audio API