[fix][transaction.js] syntax error