Titanium insertRowBefore fix

i had to use this fix to get it to append to the front of a table as their was a bug.
exports.insertRowBefore = function(tableview, row, index){
    if(index == 0){
        tableview.insertRowBefore(index,row,{animated:true}); 
    }else{
        tableview.insertRowAfter(index-1,row,{animated:true}); 
    }
}


var fixes = require('fixes/insertrow');
fixes.insertRowBefore(budgetTable,row,0);