var isCallback = Array.isArray(callback)
            && ((callback[0] === null) || typeof(callback[0]) === "object")
            && callback[1] instanceof Function;
        
		var valid = typeof url === 'string' && ((typeof callback === 'function') || isCallback);
        if (valid) {