Remove calls to alert in texture.js