jajax.js
function type(obj) {
            // IE gives us some surprises
            if(obj === null) return 'Null';
            if(obj === undefined) return 'Undefined';
            return tos.call(obj).slice(8, -1);
        }
function type(obj) {
            // IE gives us some surprises
            if(obj === null) return 'Null';
            if(obj === undefined) return 'Undefined';
            return tos.call(obj).slice(8, -1);
        }
------------------------------------------------------------- Helpers -------------------------------------------------------------