Rolling back transaction.js