when dealing with javascript what does this mean {foo: "bar"} in terms of a function as an object?