They look like closures to me. In javascript, functions are first class entities, so when he writes
function privateFunction() {
}
that is sugar meaning there is a variable named privateFunction and it points to a function. So the object that is eventually returned closes around these external variables.