JavaScript Oscilator Tests