fixed error in waveformdrawer.js : was drawing only half os wave shapes