Fixed a syntax error in libTx.js