Transaction.js: removed confusing this.class assignment in file scope