Use transaction.oncomplete instead of request.success for write transactions.
Merge pull request #32 from mariusk/master

Tests now run flawlessly on both Firefox and Chrome