The standard in code that I use and write is:
MyAwesomeClass = function() {
this.memberVariable_ = "some-value";
};
MyAwesomeClass.staticFunction = function(x) {
return x + 1;
};
MyAwesomeClass.prototype.instanceFunction = function(y) {
this.memberVariable_ += y;
};
So to use this class you'd do something like:
// Call an instance method
myClassInstance = new MyAwesomeClass();
myClassInstance.instanceFunction(foo);
// Call a static method
var baz = MyAwesomeClass.staticFunction(bar);
The thing to remember about Javascript is that the class itself is an object, so you're setting properties of that object to functions. The 'prototype' property is the special case for instance methods.