A simple experiment in javascript digital signal processing