Add TinCan statement queue function to Cordova