Waves in js.