Update towage.js

#982