https://github.com/getify/You-Dont-Know-JS/blob/master/READM... is something that comes to my mind. In general, I think that there's a ton of the sort of material you're looking for! http://teropa.info/build-your-own-angular is another one. There's also some books and stuff on design patterns.