Update transactions.js

Allow create multiple instance for connection pooling (for example)