Update wave.js