I was going through a library of a javascript plugin which was using this syntax. what does the following statement means syntactically in JavaScript
simpleCart = function (options) {
},$engine,cartColumnViews;
later the code uses simpleCart in many places. What does simpleCart refer to at the end of the statement.
EDIT1 : http://simplecartjs.org/assets/js/simpleCart-latest.php search for "main simpleCart object"