[TxMt] Little bit OT: regexp and javascript