Changes to fit into max line-length
Fixed transactions in chrome, still buggy in ff, see #2