Add missing semicolons
Add missing variable declarations
Prefer Object.getPrototypeOf over __proto__
More content - closure, module pattern