Waveform.js added. Editor fixed