JavaScript SQLite transaction rollback

I am developing some DB actions for my Phonegap app. I am testing the transaction functionality of SQLite and there is one point, that I don't understand. Here the example in one transaction: dbObj.