This is a spectrum analyzer written in JavaScript. This version is only expected to work in Chrome (or Safari nightlies). For more info (and the Firefox version) see here:
http://www.ofrecordings.com/2012/01/22/a-javascript-spectrum-analyzer/