Get DBTransaction State Code use current way

Get DBTransaction State Code from ``window.webkitIDBTransaction``