Renamed wave.js to Wave.js, changed Wave class so it uses rotf.extend method for class definition