Sort:  

Ah thanks, you know this might be exactly the type of thing I've been looking for; something that makes JavaScript easier to organize and scale up.

I recommend use TypeScript too. If you know one programming language (Java in your case) then switch to the TypeScript will be very easy. Like mightypanda said "Typescript is javascript with syntactic sugar on top" with is missing in JavaScript.
Good Luck!