Avoid jshint warning in tx.js