JavaScript doesn’t have classes. People don’t like that. They’ve been trying hard to fix it. CoffeeScript has classes. TypeScript has classes. Dart has classes. Stop it!
Classes are factories. Factories are useful, but not always. Often you just want that one object. You shouldn’t need to write a factory in such a case. You should be able to just write the object.
Imagine you could do that. Inside a function. A function that return the object. Then this function can accept parameters, which are used by the object. Then the function can be called multiple times and multiple objects of similar form are created. Just like with classes. This is possible in JavaScript. Douglas Crockford calls such functions Power Constructors. They are factories. They provide encapsulation through closures. Classes without classes.
Of course, JavaScript objects are not perfect: they lack immutability. But that’s another story.