Ben,
If I have understood your concern, This code snippet might help you.
window.CkSpace = {};
(function (CkSpace) {
CkSpace.getLoanValues = function () {
alert('I provide loans');
}
} (window.CkSpace || {}, jQuery));
window.CkSpace.getLoanValues();
Fiddle: http://jsfiddle.net/GDcVt/
If not can you please make it more minimal as the internal code has no relevance with scope. I am not sure whether the objcet does exist in the window scope before you pass it to the function.