I learnt a few days ago - One of the biggest reason everything in JavaScript is an Object was because of this huge marketing of JAVA which was a object oriented language and the Mozilla guys wanted a dynamic language for the web that's when JavaScript was created, the creator did as much as he could to make JavaScript a object oriented language. Henceforth the garbage collector.
Edit:- I forgot ... Nice article..