Update Wave.js

Skip drawing until texture is loaded